export default function storage(key) {
  return {
    get() {
      return uni.getStorageSync(key)
    },
    set(value) {
      uni.setStorageSync(key, value)
    },
    remove() {
      uni.removeStorageSync(key)
    }
  }
}
